//
//  APIPackage.h
//  LinkageAA_CUC
//
//  Created by Justin on 14-4-14.
//  Copyright (c) 2014年 Linkage. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface APIPackage : NSObject

@end

//公共入参
@interface APIPackagePublicGoHeader : APIPackage

//@property (nonatomic, copy) NSString *sessionId;//针对非登录接口，请求报文统一增加字段SESSION_ID，该字段为登录接口返回的服务端的唯一会话ID
//@property (nonatomic, copy) NSString *terminalType;//终端类型  0-手机  1-平板   2-其他
//@property (nonatomic, copy) NSString *userId;//用户唯一ID
@property (nonatomic,copy) NSString *channelId;
@property (nonatomic,copy) NSString *deviceId;
@property (nonatomic,copy) NSString *nonce;
@property (nonatomic,copy) NSString *signature;
@property (nonatomic,copy) NSString *timestamp;
@property (nonatomic,copy) NSString *openId;
@property (nonatomic, retain) NSMutableDictionary *dicGo;


- (void)makeDictionary;

@end

//公共出参
@interface APIPackagePublicBackHeader : APIPackage
@property (nonatomic,copy) NSString *state;
@property (nonatomic,copy) NSString *code;
@property (nonatomic,copy) NSString *message;
- (void)getBodyDataItems:(NSDictionary *)dic;

@end




